package tree;

import com.mj.printer.BinaryTrees;

public class Main {

	public static void main(String[] args) {
		test1();
	}

	public static void test1() {
		int[] array = new int[] { 15, 2, 3, 1, 8, 11, 9, 6 };

		AVLTree<Integer> bst = new AVLTree<Integer>();
		for (int i = 0; i < array.length; i++) {
			bst.add(array[i]);
		}

		BinaryTrees.println(bst);
	}

}
